package com.fh.modules.ss.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

import com.fh.common.query.QueryRuleEnum;
import com.fh.common.query.annotation.QueryWrapperRule;

/**
 * @Description: 物料实例
 * @author： code generator
 * @date：   2019-09-09
 * @version： V1.0
 */
@Data
@TableName("ss_material_inst")
public class SsMaterialInst implements Serializable {
    private static final long serialVersionUID = 1L;
    
	/**主键ID*/
	@TableId(type = IdType.UUID)
	private String id;
	/**物料名称*/
	@Excel(name = "物料名称", width = 15)
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private String name;
	/**物料类型名称*/
	@Excel(name = "物料类型名称", width = 15)
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private String typeName;
	/**单位名称*/
	@Excel(name = "单位名称", width = 15)
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private String unitName;
	/**物料计算单位*/
	@Excel(name = "物料计算单位", width = 15)
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private java.math.BigDecimal unit;
	/**单价*/
	@Excel(name = "单价", width = 15)
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private java.math.BigDecimal unitPrice;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	/**修改人*/
	@Excel(name = "修改人", width = 15)
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private String updateBy;
	/**修改时间*/
	@Excel(name = "修改时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
	/**删除状态（0，正常，1已删除）*/
	@Excel(name = "删除状态（0，正常，1已删除）", width = 15)
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private Integer delFlag;
}
